import request from '../utils/request'
// 热门品牌
// export function homeBrand (limit = 6) {
//   return request({
//     url: '/home/brand',
//     params: {
//       limit
//     }
//   })
// }
// 轮播图
export function HomeBanner (distributionSite = 1) {
  return request({
    url: '/home/banner',
    params: {
      distributionSite
    }
  })
}
// 新鲜好物
export function HomeNew (limit = 4) {
  return request({
    url: '/home/new',
    params: {
      limit
    }
  })
}
// 人气推荐
export function HomeHot () {
  return request({
    url: '/home/hot'
  })
}
// 热门品牌
export function HomeBrand (limit = 10) {
  return request({
    url: '/home/brand',
    params: {
      limit
    }
  })
}
// 商品
export function HomeGoodsApi () {
  return request({
    url: '/home/goods'
  })
}
